package com.zhou.base.components.feign.cloud.feign;

import com.zhou.base.components.bs.common.model.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author xianfeng
 * @date 2023/11/22 17:53
 * @description:
 */
@FeignClient(name = "${test.serviceName.name:feign-example}", path = "/test")
public interface TestServiceNameFeign {
    @GetMapping("/test")
    Response<String> queryValue();

    @GetMapping("/getServerPort")
    Response<Integer> getServerPort();
}
